package com.han.state.before;

/**
 * @ClassName Client
 * @Description 描述该类的功能
 * @Author duoduo Han
 * @Date 2024/6/16 12:03
 */
public class Client {
    public static void main(String[] args) {
        //创建电梯对象
        Lift lift = new Lift();
        lift.setState(ILift.RUNNING_STATE);
        //开门
        lift.open();
        lift.close();
        lift.run();
        lift.stop();

    }
}
